package com.nkym.wypan.model.req.userfile;/*
 * @ClassName AddUserFileReq
 * @Desc TODO
 * @Author 19637
 * @Date 2023/6/7 18:37
 * @Version 1.0
 */

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AddUserFolderReq implements Serializable {



    /**
     * 上级文件夹ID，父文件夹为0
     */

    @NotNull(message = "所在目录不能为空")
    private Long parentId;

    @NotBlank(message = "文件名不能为空")
    private String filename;


    private static final long serialVersionUID = 1L;

}
